<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>注册</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/conmon2/conmon2.css" />
	</head>

	<body>
		<div class="web">
			<header class="register_one">
				<!--头部-->
				<div class="register">
					<img src="img/img2/register.png" />
					
				</div>
				<div class="register_1">
						<div class="register_2 fl">
							<a href="register_2.html">注册</a>
						</div>
						<div class="register_3 fr">
							<a href="Login_2.html">登录</a>
						</div>
						<div class="register_4">

						</div>
					</div>

			</header>
			<!--内容-->
			<section class="register_5">
				<ul>
					<li class="l1">
						<input type="text" value="" placeholder="邮箱" />

					</li>
					<li>
						<input type="text" value="" placeholder="用户名" />

					</li>
					<li>
						<input type="password" placeholder="密码"  />
					</li>
					<li>
						<input type="password" placeholder="确认密码"  />
					</li>
					<li class="l3">
						<a href="">
							<botton>登录</botton>
						</a>
					</li>
					<li class="l4">
						<a href="">
							<botton>脸书</botton>
						</a>
					</li>
					
				</ul>
			</section>

		</div>


			<!--脚本-->
			<script type="text/javascript">
				document.body.style.height = window.innerHeight + "px";
			</script>
			<script type="text/javascript">
				document.body.style.height = window.innerHeight + "px";
				/*动态改变根元素字体大小*/
				function recalc() {
					var clientWidth = document.documentElement.clientWidth;
					if(!clientWidth) return;
					document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
				}
				//字体大小 = 1rem单表示了多少个像素*设备的宽度

				function initRecalc() {
					recalc();
					var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
					if(!document.addEventListener) return;
					window.addEventListener(resizeEvt, recalc, false);
					document.addEventListener('DOMContentLoaded', recalc, false);
				}
				initRecalc();
			</script>
	</body>

</html>